export const indexData = {
  columns: [
    { label: '商品', prop: 'sort' },
    { label: '成交总数', prop: 'id' },
    { label: '昨日价格', prop: 'name', showTooltip: true },
    { label: '价格价格', prop: 'author' },
    { label: '价格变化', prop: 'intro', showTooltip: true, slot: true },
    { label: '用户', prop: 'status' },
  ],
  formList: [
    // { label: '档口/学校', placeholder: '档口/学校', value: 'school', type: 'input' },
    { label: '日期', placeholder: '日期', value: 'end_time', type: 'date' },
  ],
  formValue: {
    // school: '',
    end_time: '',
  },
}

export const summaryData = {
  columns: [
    { label: '商品名称', prop: 'name' },
    { label: '成交数量', prop: 'total' },
    { label: '昨日价格', prop: 'price', showTooltip: true },
    { label: '今日价格', prop: 'priceToday' },
    { label: '价格走势', prop: 'zs', showTooltip: true },
    { label: '用户', prop: 'user' },
  ],
  formList: [
    // { label: '档口/学校', placeholder: '档口/学校', value: 'school', type: 'input' },
    { label: '日期', placeholder: '日期', value: 'end_time', type: 'date' },
  ],
  formValue: {
    // school: '',
    end_time: '',
  },
  tableData: [
    { name: '大白菜', total: '10/吨', price: '1.8/斤', priceToday: '2.0/斤', zs: '上涨', user: '希望小学' },
    { name: '大白菜', total: '11/吨', price: '1.9/斤', priceToday: '2.1/斤', zs: '上涨', user: '希望小学' },
    { name: '大白菜', total: '12/吨', price: '1.10/斤', priceToday: '2.2/斤', zs: '上涨', user: '希望小学' },
    { name: '大白菜', total: '13/吨', price: '1.11/斤', priceToday: '2.3/斤', zs: '上涨', user: '希望小学' },
    { name: '大白菜', total: '14/吨', price: '1.12/斤', priceToday: '2.4/斤', zs: '上涨', user: '希望小学' },
    { name: '大白菜', total: '15/吨', price: '1.13/斤', priceToday: '2.5/斤', zs: '上涨', user: '希望小学' },
    { name: '大白菜', total: '16/吨', price: '1.14/斤', priceToday: '2.6/斤', zs: '上涨', user: '希望小学' },
    { name: '大白菜', total: '17/吨', price: '1.15/斤', priceToday: '2.7/斤', zs: '上涨', user: '希望小学' },
    { name: '大白菜', total: '18/吨', price: '1.16/斤', priceToday: '2.8/斤', zs: '上涨', user: '希望小学' },
    { name: '土豆', total: '19/吨', price: '1.5/斤', priceToday: '1.4斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '20/吨', price: '1.6/斤', priceToday: '1.5斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '21/吨', price: '1.7/斤', priceToday: '1.6斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '22/吨', price: '1.8/斤', priceToday: '1.7斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '23/吨', price: '1.9/斤', priceToday: '1.8斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '24/吨', price: '1.10/斤', priceToday: '1.9斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '25/吨', price: '1.11/斤', priceToday: '1.10斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '26/吨', price: '1.12/斤', priceToday: '1.11斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '27/吨', price: '1.13/斤', priceToday: '1.12斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '28/吨', price: '1.14/斤', priceToday: '1.13斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '29/吨', price: '1.15/斤', priceToday: '1.14斤', zs: '下降', user: '东城小学' },
    { name: '土豆', total: '30/吨', price: '1.16/斤', priceToday: '1.15斤', zs: '下降', user: '东城小学' },
  ]
}